/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 描述: 案件当事人表-TRJ case_parties_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年02月15日
 */
@Data
@Table(name = "upcase.case_parties_record")
public class CasePartiesRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 当事人名称
     */
    @Column(name = "party_name")
    private String partyName;

    /**
     * 当事人身份证件类型
     */
    @Column(name = "party_identity_type")
    private String partyIdentityType;

    /**
     * 当事人身份编码
     */
    @Column(name = "party_identity_code")
    private String partyIdentityCode;

    /**
     * 当事人类型
     */
    @Column(name = "party_type")
    private String partyType;

    /**
     * 当事人id
     */
    @Column(name = "party_id")
    private String partyId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 最新更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 状态（0-无效/1-有效）
     */
    @Column(name = "status")
    private String status;

    /**
     * 住址-省市区字符串（逗号分隔）
     */
    @Column(name = "address_areas")
    private String addressAreas;
    /**
     * 住址-详细地址
     */
    @Column(name = "address_detail")
    private String addressDetail;
    /**
     * 当事人联系电话
     */
    @Column(name = "party_tel")
    private String partyTel;


}
